package com.housediyadmin.command.fittingCommand
{		
	import com.housediyadmin.events.fittingEvents.GetFittingEvent;
	import com.housediyadmin.model.FittingModel;
	
	import org.robotlegs.mvcs.Command;
	
	/**
	 * 
	 * @author yanghanbing
	 * 2010/12/15
	 */
	public class UpdateFittingCommand extends Command
	{
		[Inject]
		public var model:FittingModel;
		
		[Inject]
		public var event:GetFittingEvent
		
		override public function execute():void
		{
			model.updateFittingModel(event.fittingArray);
		}
	}
}